package com.ocean.redflagtest.mvvm.base;

import android.app.Application;
import android.arch.lifecycle.AndroidViewModel;
import android.arch.lifecycle.ViewModel;
import android.support.annotation.NonNull;

/**
 * Created by ocean on 2018/8/2
 * Author :  ocean
 * Email  :  348686686@qq.com
 */
public abstract class BaseViewModel<T extends BaseRepository> extends AndroidViewModel {

    protected T respository;

    public BaseViewModel(@NonNull Application application) {
        super(application);
    }
}
